package com.qj.travel.service;

import com.qj.travel.db.model.UserModel;

import java.util.List;

/**
 * Created by Admin on 2016/10/11.
 */
public interface UserService {
    List<UserModel> getUserList();
    UserModel getUser(int userId);
    int insertUser(UserModel userModel);
    int updateUser(UserModel userModel);
    int deleteUser(int userId);
    int updateGroup(int userId,String groupName);
    List<UserModel> getUserByGroup(String groupName);
}
